Image read method for performing image signal processes complying with the color of a reference portion of a recording medium, and image read apparatus adopting the method

ABSTRACT

When an image scanner scans an image recorded on an advanced photo system™ film, it determines spectral transmittance of a portion of the film, which is not exposed but developed, then sets parameters, such as masking parameters and γ correction parameters, to be used in image signal processes on the basis of the spectral characteristics. Thereafter, the image is read by a CCD and image data is outputted. The film scanner applies the image signal processes to the image data using the parameters set in accordance with the spectral transmittance.

BACKGROUND OF THE INVENTION

[0001] The present invention relates to an image read method and apparatus and, more particularly, to an image read method for reading an original image recorded on a recording medium, such as an APS™ (advanced photo system) film, and performing image processes complying with the color of a reference portion of the recording medium, e.g., a film base, and image read apparatus adopting the method.

[0002] A film scanner is known as an embodiment of an image processing apparatus for inputting an image recorded on a film to a device, such as a personal computer, which displays the inputted image. A film scanner has been developed for a 135 (35 mm) film. When reading an image, the film scanner first scans an image in a low resolution at high speed, and after the scanned image is displayed by the personal computer (this processing is called “previewing” and the displayed image is called “preview image” hereinafter), an area of the image to be read in a high resolution (main scan area) is designated on the preview image. Then, image data, read in the high resolution, of the image in the designated main scan area is transmitted from the film scanner to the personal computer.

[0003]FIG. 30 is a block diagram illustrating a configuration of a conventional film scanner 3000.

[0004] In FIG. 30, reference numeral 2801 is a light source; and 2802, a film holder for holding a film as a transparent original image. The film holder 2802 is configured movable in the Y direction. Further, reference numeral 2803 denotes a lens system; and 2804 a CCD linear image sensor (referred to as “CCD” hereinafter), provided in such a manner that the long side of the CCD 2804 is in the Z direction. In this arrangement, the main scanning direction, namely the long-side direction of the CCD 2804, and the sub-scanning direction, which is the moving direction of the film holder 2802, are orthogonal. Here, following combinations between the light source 2801 and the CCD 2804 are available for reading a color image. Namely, Light Source CCD Type How to read (1) White 3 lines Output R, G and B signals simultaneously (2) Three colors 1 line Output R, G and B signals (R, G, B) in time division (3) White 1 line Output R, G and B signals (R, G, B filters) in time division

[0005] The respective combinations have different features and defects, and applications of these combination are often determined by trial and error means. Here, the combination (1) is applied as an example.

[0006] Reference numeral 2805 denotes an analog image processing unit where setting of gain and clamping is performed on an analog image signal outputted from the CCD 2804; 2806, an analog-digital (A/D) converter for converting an analog image signal into a digital image signal; 2807, an image processing unit, configured with a gate array, capable of applying various image processes to the digital image signal at high speed and outputting a CCD driving pulse; 2808, a line buffer for temporarily storing image data; 2809, an interface (I/F) for communicating with an external device 2810, such as a personal computer; 2811, a system controller, storing program for controlling overall operation in the film scanner 3000, for performing various operation in response to instructions from the external device 2810; 2812, a system bus, configured with an address bus and a data bus, for connecting the system controller 2811, the image processing unit 2807, the line buffer 2808, and the I/F 2809; 2813, a sub-scanning motor, a stepping motor, for moving the film holder 2802 in the sub-scanning direction; 2814, a sub-scanning motor driver for driving the sub-scanning motor 2813 in response to instructions from the system controller 2811; 2815, a sub-scanning position detector for detecting the reference position of the film holder 2802 in the sub-scanning direction by detecting the position of the protuberant shape (not shown) of the film holder 2802 using a photo-interrupter; and 2816, a light-source on/off circuit for turning on and off the light source 2801.

[0007] The conventional film scanner 3000 is configured as above, and the film scanner 3000 and the external device 2810, such as a personal computer, communicates by executing software (called “firmware” hereinafter) stored in the system controller 2811 and software (driver software) for controlling the film scanner 3000 by the external device 2810, and image data read by the film scanner 3000 is transmitted to the external device 2810.

[0008]FIG. 31 is a flowchart showing an operational sequence of the film scanner 3000 and the external device 2810. Here, it is assumed that both the film scanner 3000 and the external device 2810 are already turned on, the firmware and the driver software are initiated, and the film is already set at a predetermined position.

[0009] First in step S2901, previewing is designated by a user through the external device 2810. Upon designating previewing, the external device 2810 transmits various control information, such as type of film, area to be read, and resolution to be used, to the system controller 2811. In the previewing processing, the area to be read is an entire image recorded on the film, and the resolution is set low.

[0010] Next, the system controller 2811 prepares for the previewing by setting the information provided in step S2901 from the external device 2810 in step S2902. Thereafter, the process proceeds to step S2903 where the system controller 2811 receives information from the sub-scanning position detector 2815 and controls the sub-scanning motor 2813 so that the film holder 2802 is moved to a predetermined initial position (referred to as “sub-scanning initial position” hereinafter).

[0011] Then, in step S2904, the system controller 2811 issues an instruction to turn on the light source 2801 to the light-source on/off circuit 2816, thereby the light source 2801 is turned on. In the succeeding step S2905, the system controller 2811 issues an instruction to output timing signals, such as a CCD driving pulse for reading one line of an image and a RAM address control signal.

[0012] Next in step S2906, the image is read line by line by exposing the CCD 2804 for a predetermined period of time while driving the sub-scanning motor 2813 at a predetermined speed. Thereafter, predetermined image processes are performed on the read image data by the image processing unit 2807, and the image data is transmitted to the external device 2810.

[0013] After finishing scanning of the designated area of the image in step S2907, the system controller 2811 drives the sub-scanning motor 2813 so as to move the film holder 2802 back to the sub-scanning initial position, and turns off the light source 2801. As soon as all the image data is outputted, the system controller 2811 controls to stop respective functions.

[0014] Next, in step S2908, the system controller 2811 is in stand-by state until a next command is received.

[0015] In turn, in step S2909, the external device 2810 receives the image data and sequentially displays it on its display screen, thereby providing a preview image to a user.

[0016] The process proceeds to step S2910 where the user sets image read (scanning) conditions while watching the preview image on the display screen. Here, similarly to a case where the previewing was designated in step S2901, various information, such as type of the film, area to be read, and resolution to be used, are transmitted to the system controller 2811. Note, in this case, the information for main scanning operation, namely, area to be read designated by the user, and resolution to be used also designated by the user, and so on, are transmitted to the system controller 2811.

[0017] In turn, the system controller 2811 receives the image read conditions from the external device 2810 and performs the main scanning under the received image read conditions in step S2911 by repeating the processes in steps S2902 to S2908 as described above.

[0018] Thereafter, image data which is transmitted to the external device 2810 is displayed on its display screen as well as stored in a predetermined storage medium (e.g., hard disk, magneto-optical disk, and floppy disk) in step S2912, thereby the entire operation is completed.

[0019] However, in the conventional film scanner, especially when reading an image recorded on a negative film, fixed γ correction curves and fixed masking correction coefficients are used to remove undesirable effects of color of the film base on the γ correction and masking correction. It is preferred to measure spectral transmittance of color of each film base, in other words, color of a portion which is not exposed but developed, and determine γ correction curves for each of basic colors, e.g., R, G and B, and masking correction coefficients in accordance with the measured spectral transmittance in order to reduce undesirable effects of the film base color. However, regarding a 35 mm film, it is usually cut in groups of six frames, as shown in FIG. 32, and a very small portion of film base is seen, such as a portion between frames, therefore it is difficult to measure the spectral transmittance of the film base color of the 35 mm film. Accordingly, there is no choice but to use fixed γ correction curves and fixed masking correction coefficients which are stored in advance. However, the color of film base differs, one from the other, and the optimum color reproduction is not always achieved by using the fixed γ correction curves and the fixed masking correction coefficients.

[0020] As for an APS™ film, as shown in FIG. 33, the film is rewound into a cartridge without being cut after the film is developed, and a wide portion 3104 which is not exposed but developed exists between the front edge 3102 and the first frame 3103 in the APS™ film.

SUMMARY OF THE INVENTION

[0021] The present invention has been made in consideration of the above situation, and has as its object to provide an image read method and an image read apparatus capable of achieving good color reproductivity by measuring spectral transmittance of a portion which is not exposed but developed and performing image processes suitable for the measured spectral transmittance.

[0022] According to the present invention, the foregoing object is attained by providing an image read method comprising: an image read step of reading an image recorded on a recording medium and outputting image data; a color information determination step of determining color information on basic colors of a reference portion of the recording medium; a parameter setting step of setting a parameter for each color to be used in image signal processes on the basis of the color information determined in the color information determination step; and an image processing step of applying the image signal processes on the image data obtained in the image read step using the parameter set in the parameter setting step.

[0023] Further, the object is also attained by providing an image read apparatus comprising: image read means for reading an image recorded on a recording medium and outputting image data; color information determination means for determining color information on basic colors of a reference portion of the recording medium; parameter setting means for setting a parameter for each color to be used in image signal processes on the basis of the color information determined by the color information determination means; and image processing means for applying the image signal processes on the image data obtained by the image read means using the parameter set by the parameter setting means.

[0024] Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiment of the invention and, together with the description, serve to explain the principles of the invention.

[0026]FIG. 1 is a block diagram illustrating a configuration of a film scanner according to an embodiment of the present invention;

[0027]FIG. 2 is a block diagram illustrating a configuration of a portion relating to image processes;

[0028]FIG. 3 is an explanatory view of a photo-sensing surface of a CCD;

[0029]FIG. 4 is a diagram illustrating a detailed configuration of a blue light photo receiving portion of the CCD shown in FIG. 3;

[0030]FIG. 5 is a circuit diagram of a black level correction circuit and its peripheral units;

[0031]FIG. 6 is a diagram for explaining an operation of an A/D converter;

[0032]FIGS. 7A to 7C are graphs for showing how an image signal level changes while being processed by a digital automatic gain controller;

[0033]FIGS. 8A and 8B are views for explaining shading;

[0034]FIG. 9 is a graph for explaining γ correction;

[0035]FIG. 10 is a view for explaining the γ correction;

[0036]FIG. 11 is an explanatory view showing relationship between an arrangement of R, G and B lines of the CCD and portions of an image sensed by the R, G and B lines;

[0037]FIG. 12 is a block diagram illustrating an internal configuration of a resolution/magnification converter;

[0038]FIGS. 13A and 13B are timing diagrams showing clock signals generated by the resolution/magnification converter;

[0039]FIGS. 14A to 14C are diagrams for explaining resolution/magnification conversion in the sub-scanning direction;

[0040]FIG. 15 is a graph showing a relationship between wavelength and quantity of light transmitted through a filter;

[0041]FIG. 16 is a view for explaining binarization;

[0042]FIGS. 17A and 17B are explanatory views for explaining negative/positive inversion;

[0043]FIG. 18 is a diagram illustrating a brief configuration of a negative/positive inverter;

[0044]FIGS. 19A to 19C are explanatory views for explaining mirror image processing;

[0045]FIGS. 20A and 20B are conceptual views of a line buffer;

[0046]FIG. 21 is a flowchart showing a communication sequence in the film scanner when communicating with an external device according to the embodiment of the present invention;

[0047]FIG. 22 is a flowchart showing a communication sequence in the external device when communicating with the film scanner according to the embodiment of the present invention;

[0048]FIG. 23 is a flowchart showing a command execution routine performed in the flowchart shown in FIG. 21;

[0049]FIG. 24 is a flowchart showing initialization performed in the flowchart shown in FIG. 21;

[0050]FIG. 25 is a flowchart showing a sequence of previewing performed in the flowchart shown in FIG. 23;

[0051]FIG. 26 is a flowchart showing a sequence of focus adjustment processing performed in the flowchart shown in FIG. 23;

[0052]FIG. 27 is a flowchart showing a sequence of main scanning performed in the flowchart shown in FIG. 23;

[0053]FIG. 28 is a flowchart showing a sequence of eject processing performed in the flowchart shown in FIG. 23;

[0054]FIG. 29 is a flowchart showing a sequence of film-type setting processing in the flowchart shown in FIG. 23;

[0055]FIG. 30 is a block diagram illustrating a configuration of a conventional film scanner capable of reading an image recorded on an APS™ film;

[0056]FIG. 31 is a flowchart showing an operational sequence of the conventional film scanner and the external device;

[0057]FIG. 32 is a brief view of a 35 mm film; and

[0058]FIG. 33 is a brief view of an APS™ film.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0059] Preferred embodiment of the present invention will be described in detail in accordance with the accompanying drawings.

[0060] Below, a film scanner is explained as an embodiment of the present invention. Further, the film scanner is for reading an APS™ film, however, the present invention is applicable to any image read apparatus for reading an image recorded on a transparent medium having an area wide enough to measure spectral transmittance of the color of a reference portion of the medium.

[0061] <Embodiment>

[0062]FIG. 1 is a block diagram illustrating a configuration of a film scanner 1 according to an embodiment of the present invention. In FIG. 1, reference numeral 101 denotes a light source having a cold-cathode tube; 102, an APS™ film (referred to as “film” hereinafter) as a transparent original image, provided movable in the Y direction; 103, an optical system composed of a plurality of lenses; and 104, a linear image sensor, basically constituted with CCD, (referred to as “CCD 104” hereinafter) and provided in such a manner that the long side of the CCD 104 is in the Z direction. In this arrangement, the main scanning direction, namely the long-side direction of the CCD 104, and the sub-scanning direction, which is the moving direction of the film 102, are orthogonal.

[0063] Reference numeral 105 denotes a focal point fixing member for holding the CCD 104 near the image plane of the optical system 103, and the CCD 104 and the optical system 103 are integrally moved back and forth along the optical axis, namely, in the X direction.

[0064] Further, reference numeral 106 denotes a black level correction circuit for adjusting the black level of the analog image signal outputted from the CCD 104; 107, an analog-digital (A/D) converter for converting the analog image signal whose black level is corrected into a digital image signal; and 108, an image processing unit for performing predetermined image processing (will be explained later) at high speed and providing a pulse used for operating the CCD 104. The image processing unit 108 is configured with a gate array, and capable of performing various image processes at high speed. Further, reference numeral 109 denotes a line buffer, constituted with a general-purpose random access memory, for temporarily storing the image data; and 110, an interface (I/F) for communicating with an external device 114, such as a personal computer.

[0065] Furthermore, reference numeral 111 denotes a system controller storing an overall operational sequence of the film scanner 1, and controls various operations of each units in response to instructions from the external device 114; and 113, a system bus, which is configured with an address bus and a data bus, for connecting the system controller 111, the image processing unit 108, the line buffer 109, the I/F 110, an offset RAM 122 and a ROM 126 which will be explained later.

[0066] Reference numeral 115 denotes a sub-scanning motor, a stepping motor, here, for moving the film 102 in the sub-scanning direction; 116, a sub-scanning motor driver for driving the sub-scanning motor 115 in response to instructions from the system controller 111; and 117, a sub-scanning position detector for detecting the reference position of the film 102 in the sub-scanning direction by detecting the positions of perforations of the film 102 using a photo-interrupter.

[0067] Reference numeral 118 denotes a light-source on/off circuit, an inverter circuit, for turning on and off the light source 101; 119, a magnetic information detector, e.g., a magnetic reproducing head, for reading magnetic information recorded on the film 102; 120, a pulse used for driving the CCD 104; and 121, a sample-and-hold (S/H) control signal for sampling and holding the input image signal.

[0068] Reference numeral 122 denotes a RAM, called “offset RAM”, used as a working area when performing image processes. The offset RAM 122 temporarily stores various data used for shading correction, γ correction and color data line matching, and image data. The detail will be explained later. Reference numeral 123 denotes a focus motor for moving the focal point fixing member 105 in the direction of the optical axis; 124, a focus motor driver for providing a driving signal to the focus motor 123; and 125, a focus position detector for detecting an initial position of the focal point fixing member 105.

[0069] Reference numeral 126 denotes a ROM. A plurality of ratios of transmittances in respective wavelengths, namely, blue, red and green, of a film base color and sets of masking correction coefficients which are suitable for the respective ratios are stored in the ROM 126. Further, a plurality of γ correction curves which are suitable for the respective ratios are also stored in the ROM 126. These data may be stored in a form of look-up table.

[0070] Next, a portion relating to image processes is explained in detail with referring to FIG. 2. In FIG. 2, reference numeral 104 denotes the CCD, having three lines of linear sensors, and its photo-sensing surface is as shown in FIG. 3.

[0071] The CCD 104 is an one-chip photoelectric converting element including a green light (G) receiving portion 301, a blue light (B) receiving portion 302, and a red light (R) receiving portion 303, arranged in parallel separated at a predetermined distance from each other, and a circuit for driving itself. More specifically, in the CCD 104, each of the G receiving portion 301, the B receiving portion 302, and R receiving portion 303 is constituted with several thousands of photo-reception elements of several-micrometer square.

[0072]FIG. 4 is a diagram illustrating a detailed configuration of the B photo receiving portion 302 of the CCD 104. Since the configurations of the G and R photo receiving portions 301 and 303 are the same as that of the B photo receiving portion 302, explanation of them is omitted.

[0073] In the B photo receiving portion 302, when light incidents on a photo receiving surface 401 of the CCD 104, charges proportional to the quantity of light are generated by photo-diodes 402 and current flows in the direction of an arrow 403. Thereby, in condensers 404, the charges corresponding to the quantity of light are stored. The charges stored in the condensers 404 are simultaneously transmitted to a transfer unit 407 by simultaneously closing all switches (SW) 406 in a shifting unit 405. Thereafter, the charges transferred to the transfer unit 407 are further transferred in the main scanning direction in synchronization with CCD operation signals 408 and 409 having different phases. Further, the transferred charges are converted into voltage signals by the amplifier 410, and outputted. Note, the control signal for controlling the switches 406, and CCD operation signals 408 and 409 are generated on the basis of the driving pulse 120, shown in FIG. 1, which is outputted by the image processing unit 108 at a predetermined timing.

[0074] The black level of the output signal from the CCD 104 is not sufficiently stabilized if amplified only by the amplifier 410. Therefore, the black level correction circuit 106 adjusts the output from the CCD 104 and fixes the black level of image data so that the maximum voltage of a signal inputted to the A/D converter 107 is 5V.

[0075]FIG. 5 is a circuit diagram of the black level correction circuit 106 and its peripheral units. The CPU of the system controller 111 regularly checks the voltage applied to the A/D converter 107 via the system bus 38. Then, when the voltage which is equal or higher than 5V is applied to the A/D converter 107, the system controller 111 generates data which reduces the voltage of the input image signal to a voltage less than 5V, on the basis of the image data which is analog-digital converted by the A/D converter 107. Thereafter, the generated data is converted into an analog electric signal by the D/A converter 112 and added to the image signal. By lowering the voltage applied to the A/D converter 107, as described above, black level is stabilized. Note, the aforesaid black level correction is performed for each of R, G and B signals in parallel.

[0076] The image signal (analog signal) applied with black level correction is converted into a digital signal by the A/D converter 107. FIG. 6 is a diagram for explaining an operation of the A/D converter 107. Referring to FIG. 6, sample-and-hold signals (GSHCK, BSHCK, RSHCK) 121G, 121B and 121R for respective colors are provided from the image processing unit 108 to the A/D converter 107, and analog image signals are converted to ten-bit digital image signals by the A/D converter 107 in the order of G image signal, B image signal and R image signal, in accordance with the sample-and-hold signals 121G, 121B and 121R. More specifically, 5V is applied to a T terminal of the A/D converter 107 and a reference voltage (here, 2.5V) is applied to a B terminal. Then, the A/D converter 107 outputs, for example, “0” from all the output terminals (“0” as an image signal level) when an inputted analog electric image signal is 5V, whereas outputs “1” from all the output terminals (namely, “1023” as an image signal level) when the inputted analog electric image signal is the reference voltage (2.5V).

[0077] The electric image signal outputted from the A/D converter 107 is processed as follows in the image processing unit 108. Reference numeral 201 denotes a digital automatic gain controller (AGC), which adjusts the signal level of image data (image signal level) of each color as shown in FIGS. 7A to 7C. First, after the black level of image data is stabilized by the black level correction circuits 106R, 106G and 106B, the image data is further applied with digital black level correction. This digital black level correction is realized by subtracting the value of a pixel corresponding to an optically black level in the CCD output, indicated by reference numeral 702 in FIG. 7A, from the overall image data indicated by reference numeral 701. Reference numeral 703 in FIG. 7B denotes image data after performed with digital black level correction. Further, the image data of each color is independently amplified by a value between one and two, thereby balance of the signal level of each color is adjusted. The curve 704 in FIG. 7C is an example of the signal level of one color, and obtained by amplifying the image data 703 so that the maximum value of the image data 703 becomes “1023”.

[0078] Reference numeral 202 in FIG. 2 denotes a shading correction circuit. As shown in FIGS. 8A and 8B, the distribution of signal levels of image data in the main scanning direction is not always uniform as shown by a curve 801 when there is no film. This is because,

[0079] a. Quantity of light from the light source 101 is higher in the central portion than in edge portions,

[0080] b. Quantity of light transmitted through the lens system 103 is higher in the central portion than in edge portion, and

[0081] c. Sensitivity of each of photo-receiving elements in the CCD 104 is not the same for all photo-sensing elements.

[0082] For the aforesaid reasons, the signal level of the output image signal would be as shown by a curve 801. Thus, shading correction is performed so as to compensate (equalize) the variation in distribution of image signals. In the embodiment, before a film is set, distributions of light intensity in the main scanning direction are read by the respective G, B and R lines of the CCD 104 and temporarily stored in the offset RAM 122. Then, the system controller 111 compares the data stored in the offset RAM 122 with a reference density data of a white color, and stores difference between the reference density data and the data stored in the offset RAM 122 as shading correction data. This shading correction data is used for correcting image data when scanning a film.

[0083] Reference 203 in FIG. 2 denotes a γ correction circuit where contrast of the image is adjusted and the image signal which is represented as ten-bit image data is converted into eight-bit image data. FIG. 9 shows an example of a γ conversion data, and the abscissa shows signal level (0 to 1023) of input image data and the ordinate shows signal level (0 to 255) of output image data. A straight line 901 is called a “through pattern”, and this converts ten-bit input image data into eight-bit output image without changing characteristics of the input image data. A curve 902 is called a “high contrast pattern”, and this enhances differences in density of the image. Further, a straight line 903 is called a “low contrast pattern”, and this reduces differences in density of an image. In this embodiment, many γ correction curves, such as those as described above, are stored in relation to different ratios of spectral transmittances (color signal levels) in red, green and blue of film base colors in the ROM 126, as described above. The film scanner 1 scans, by the CCD 104, a portion between the front edge of the film and the first frame, which is not exposed but developed. Then, on the basis of relative ratio of color signal levels (color information) of red, green and blue of the read portion, the γ correction circuit 203 selects the optimum γ correction curves for each basic color of R, G and B out of the plurality of γ correction curves stored in the ROM 126 in advance. The selected γ conversion curve data is transmitted to the system controller 111 and stored in the offset RAM 122. By using the stored γ conversion data, input image data (10 bits) is converted into output image data (8 bits) as shown in FIG. 10.

[0084] Reference numeral 204 in FIG. 2 denotes a color data line matching circuit where data taken from different positions of respective colors of the CCD 104 are compensated. More specifically, since three lines of photo-reception elements for obtaining R, G and B signals are arranged in parallel along the main scanning direction, as shown in FIG. 11, R, G and B image data representing a single line can not be read simultaneously, and actually, R, G and B image data representing different three lines in an image is read simultaneously. Therefore, the color data line matching circuit 204 stores the R, G and B image data in the offset RAM 122, and, when all the R, G and B image data representing the same line are stored in the offset RAM 122, it outputs the stored R, G and B image data of a single line.

[0085] Reference numeral 205 in FIG. 2 denotes a resolution/magnification converter 205. FIG. 12 is a block diagram illustrating an internal configuration of the resolution/magnification converter 205. As shown in FIG. 12, the resolution/magnification converter 205 has a resolution converter which generates a clock for changing resolution (resolution conversion clock 1303) on the basis of a reference clock 1301 and processes an input image signal 1302 in accordance with the resolution conversion clock 1303 and a magnification converter which generates a clock (magnification conversion clock 1304) for triggering to take the image signed transmitted from the resolution converter to an input port (not shown), and outputs the image signal taken in accordance with the magnification conversion clock 1304. To the resolution converter and the magnification converter, conversion parameters generated by the system controller 111 are inputted via the system bus 113. The frequency of the reference clock 1301 is set twice higher than that of a clock used for operating the CCD 104. Therefore, the frequency of the reference clock 1301 is twice higher than that of the input image signal 1302, as shown in FIG. 13A.

[0086] In a case where the resolution converter operates in accordance with the resolution conversion clock 1303 having a half frequency of that of the reference clock 1301 and the magnification converter operates in accordance with the reference clock 1301, two image signals having identical information are outputted in series from the resolution/magnification converter 205 while each image signal 1302 is inputted. In this case, the resultant outputted image data represents an image having the resolution of the CCD 104 and enlarged by 200%. The above operation is based on an instruction to output an image in the same resolution as that of the CCD 104 with magnification of 200%. In a case where an instruction to output an image at half the resolution of the CCD 104 and with magnification of 50% in the main scanning direction is inputted, the resolution converter operates in accordance with the resolution conversion clock 1303 having a frequency of one-fourth of the reference clock 1301 as shown in FIG. 13B, thereby skipping one-half of the output signal from the CCD 104, Further, the magnification converter operates in accordance with the magnification conversion clock 1304 also having a frequency of one-fourth of the reference clock 1301.

[0087]FIGS. 14A to 14C are diagrams for explaining resolution/magnification conversion in the sub-scanning direction.

[0088] In FIGS. 14A to 14C, reference numeral 1401 denotes sampling lines. FIG. 14A shows a case where the film 102 is moved at a predetermined reference speed in the sub-scanning direction. In order to increase the resolution or the size of an image, the number of the sampling lines is increased by conveying the film 102 at a lower speed than the reference speed in the sub-scanning direction, as shown in FIG. 14B, and the read data is written to the offset RAM 122. Whereas, in a case of decreasing the resolution or the size of an image, the film 47 is conveyed at the reference speed in the sub-scanning direction, however, part of the data read in the sampling lines 1401 is not written to the offset RAM 122, as shown in FIG. 14C. Of course, it is possible to carry the film 102 at a higher speed than the reference speed and write all the read data to the offset RAM 122.

[0089] Reference numeral 206 in FIG. 2 denotes a filtering processing circuit, where a filtering processing is performed so as to increase the quality of an image which is deteriorated by the resolution conversion or the magnification conversion performed by the resolution/magnification converter 205.

[0090] A following table 1 shows the contents of the filtering processing: TABLE 1 Resolution Interpolation Averag- Smooth- Edge Tone (dpi) Main Sub ing ing Processing 24 bits 170-340 X O O X X ″ 341-680 X O O X X ″  681-1360 X O O X X ″ 1361-2719 O O X O O ″ 2720 X X X X X ″ 2720-5440 O X X O O  8 bits 170-340 X O O X X ″ 341-680 X O O X X ″  681-1360 X O O X X ″ 1361-2719 O O X O O ″ 2720 X X X X X ″ 2720-5440 O X X O O Binary 170-340 X O O X O ″ 341-680 X O O X O ″  681-1360 X O O X O ″ 1361-2719 O O X O O ″ 2720 X X X X X ″ 2720-5440 O X X O O

[0091] Note, in the table 1, “main” and “sub” indicate the main scanning direction and the sub-scanning direction, respectively. Further, “O” in the table 1 indicates “apply”, and “X” in the table 1 indicates “not apply”.

[0092] As shown in the table 1, various known filtering processing, such as interpolation in the main scanning direction and in the sub-scanning direction, averaging, smoothing, and edge processing, are selectively performed on the image signal in accordance with resolutions in the respective tones (24 bits, 8 bits, binary).

[0093] Reference numeral 207 in FIG. 2 denotes a masking processing circuit where image signal levels are corrected so as to compensate for the effects of the spectral transmittance of the R, G and B filters on the CCD 104 as well as the spectral transmittance of film base color which is specific to each film. In the embodiment, the portion between the front edge and the first frame of the film is scanned by the CCD 104 when pulling out the film from the cartridge, as explained above, and on the basis of the relative ratio of color signal levels (color information) of red, green and blue of the read portion, the masking processing circuit 207 selects the optimum set of masking correction coefficients out of a plurality of sets of masking correction coefficients stored in the ROM 126 in advance. Ideally, a color filter only transmits light whose wavelength is in a range shown by a dashed line 1501 and blocks light whose wavelength is outside of the range as shown in FIG. 15. In practice, however, the filter transmits light, as shown by a curve 1502, whose wavelength is outside of the ideal range referred by 1501. Accordingly, the masking processing circuit 207 corrects the actual characteristics of the color filters so as to approach the ideal characteristics by using the following equation (1); $\begin{matrix} {\begin{pmatrix} {Rout} \\ {Gout} \\ {Bout} \end{pmatrix} = {\begin{pmatrix} {Rr} & {Gr} & {Br} \\ {Rg} & {Gg} & {Bg} \\ {Rb} & {Gb} & {Bb} \end{pmatrix} \times \begin{pmatrix} {Rin} \\ {Gin} \\ {Bin} \end{pmatrix}}} & (1) \end{matrix}$

[0094] where Rout, Gout and Bout are signals outputted from the masking processing circuit 207; Rin, Gin and Bin are signals inputted to the masking processing circuit 207; and Rr, Gr, Br, Rg, Gg, Bg, Rb, Gb, and Bb are selected set of masking correction coefficients.

[0095] Reference numeral 208 in FIG. 2 denotes a binarization/AE(automatic exposure) processing circuit which converts an 8-bit multi-value data into binary image data which represents either black or white using one bit. When the system controller 111 is instructed to perform binarization by the external device 114, the system controller 111 sets a parameter to the slice level register 1601. When the set parameter is defined by B and an 8-bit multi-value data by A, then the comparator 1602 compares the parameters A and B. If A is greater than B, binary data, “1”, is outputted, whereas, if equal or less than the parameter B, binary data “0” is outputted. At the same time, when the density of the original image changes while scanning the film, the slice level is automatically changed, as an AE function, which enables the binarization/AE processing circuit 208 to output binary data of good reproductivity. Upon changing the slice level, the binarization/AE processing circuit 208 determines an optimized slice level by picking up a white peak value and a black peak value of each line while scanning the film and updates the contents of the slice level register.

[0096] Reference numerals 209R, 209G and 209B denote negative/positive inverters which invert the density levels of image data of the original image as shown in FIGS. 17A and 17B. More specifically, each of the negative/positive inverters 209R, 209G and 209B has an exclusive NOR gate as shown in FIG. 18, and when the system controller 111 sets “1” which is an inversion signal, image data of each pixel is inverted.

[0097] Reference numerals 210R, 210G and 210B denote mirror image processing circuits which rotates image data by 180° (mirror image) in the main scanning direction as shown in FIGS. 19A and 19B. This mirror image processing is realized by reading image data written in the line buffer 109 in the opposite direction to the write direction as shown in FIG. 19C.

[0098] Reference numeral 109 in FIG. 2 denotes a line buffer for temporarily storing the processed image data. The line buffer 109 is conceptually divided into two blocks for writing and reading, as shown in FIGS. 20A and 20B. While image data is written to one of the line buffers, image data is read from the other line buffer. When the line buffer which has been written to becomes full, then the line buffer for writing is changed to the line buffer for reading.

[0099] Reference numeral 110 denotes the I/F which is configured with a SCSI controller, for example.

[0100] Next, an operational sequence of the film scanner 1 configured as above will be explained.

[0101] Communication sequences between the film scanner 1 and the external device 114 are shown in flowcharts in FIGS. 21 and 22.

[0102] More specifically, FIG. 21 is a flowchart showing a communication sequence in the film scanner 1 when communicating with the external device 114 according to the third embodiment of the present invention, and FIG. 22 is a flowchart showing a communication sequence in the external device when communicating with the film scanner 1. The processes shown in the flowcharts in FIGS. 21 and 22 are performed by CPU in the system controller 111 and CPU in the external device 114, respectively. Similarly, processes shown in flowcharts in FIG. 23 to 29, which will be explained later, are also performed by the CPUs in the system controller 111 and the external device 114.

[0103] After the film scanner 1 is turned on in step S2001, initialization, which will be explained later, is performed in step S2002.

[0104] Meanwhile, the external device 114 is turned on in step S2007, then initialization, such as memory check and SCSI check, is performed in step S2008.

[0105] In the film scanner 1, the process proceeds to step S2003 where whether or not a communication open command is received from the external device 114 is determined. If NO in step S2003, then the film scanner 1 goes to a stand-by state for waiting for a command, whereas if YES, then the process proceeds to step S2004.

[0106] The external device 114 transmits a communication open command requesting to open communication to the film scanner 1 in step S2009. In response to the communication open command, step S2003 becomes YES, thereby the process proceeds to step S2004 and the external device 114 can communicates with the film scanner 1.

[0107] In step S2004, the film scanner 1 starts communicating with the external device 114.

[0108] When the communication starts, the external device 114 executes an application software including driver software in step S2010.

[0109] In the proceeding step S2011, a user inputs an instruction for operating the film scanner 1. Note, the termination of the application is performed in response to a termination instruction by the user, and when the termination instruction is designated by the user, communication with the film scanner 1 is closed and the application is terminated.

[0110] In step S2012, the driver software generates a command corresponding to the operation instruction designated by the user, and sends the command to the film scanner 1.

[0111] Whereas, after the communication is opened in step S2004, the film scanner 1 waits for a command in step S2005. If no command is inputted, then the film scanner 1 repeats step S2005. Whereas if a command is inputted, then the process proceeds to step S2006.

[0112] In step S2006 the film scanner 1 executes an operation in response to the received command. Progress of the execution is informed to the external device 114 successively.

[0113] In turn, the external device 114 receives the information on the progress of the execution from the film scanner 1, and provides the information to the user in step S2013. Right after the processing corresponding to the designated command is completed, the process returns to step S2011.

[0114]FIG. 23 is a flowchart showing a command execution routine performed in step S2006 in FIG. 21.

[0115] First in step S2101, whether an operation command sent from the external device 114 is a preview command or not is determined. If YES, after previewing (detail will be explained later) is performed in step S2102, completion of the previewing is informed to the external device 114 in step S2114, thereby the processing is completed. Whereas, if NO in step S2101, then the process proceeds to step S2103 where whether the transmitted command is a focus adjustment command or not is determined. If YES, then the process proceeds to step S2104 where focus adjustment processing (detail will be explained later) is performed, then the completion of the focus adjustment processing is informed to the external device 114 in step S2114, thereby completing the processing. Whereas, if NO in step S2103, then the process proceeds to step S2105 where whether the transmitted command is a main scanning command or not is judged. If YES, then the process proceeds to step S2106 where the main scanning (detail will be explained later) is performed, then the completion of the main scanning is informed to the external device 114 in step S2114, thereby completing the proceeding. Whereas, if NO in step S2105, then the process proceeds to step S2107 where whether the transmitted command is an eject command or not is determined. If YES, then the process proceeds to step S2108 where the eject processing (detail will be explained later) is performed, then the completion of the eject processing is informed to the external device 114 in step S2114, thereby completing the processing. Whereas, if NO in step S2107, then the process proceeds to step S2109 where whether the transmitted command is a film-type setting command or not is determined. If YES, then the process proceeds to step S2110 where the film-type setting processing (detail will be explained later) is performed, then the completion of the film-type setting processing is informed to the external device 114 in step S2114, thereby completing the processing. Whereas, if NO in step S2109, then the process proceeds to step S2111 where whether the transmitted command is other command or not is determined. If YES, then the process proceeds to step S2112 where processing corresponding to the command is performed, then the completion of the processing is informed to the external device 114 in step S2114, thereby completing the processing. Whereas, if NO in step S2111, then the process proceeds to step S2113 where it is determined that an abnormal command is inputted, and processing for dealing with the abnormal command is performed, then the completion of the processing is notified to the external device 114 in step S2114, thereby completing the processing.

[0116] Next, flows of each process shown in FIGS. 21 and 23 is explained below.

[0117]FIG. 24 is a flowchart showing the initialization processed in step S2002 in FIG. 21.

[0118] First, in step S2201, memory check is performed on the line buffer 109 and the offset RAM 122, then in step S2202, initial settings are set for the input/output (I/O) port of the system controller 111. Further, in step S2203, the image processing unit 108 is initialized so as to be ready for image processing.

[0119] Next, after the system controller 111 reads an identification number of the I/F 110 in step S2204, it drives the focus motor 123 to move the focal point fixing member 105 to a predetermined initial position (referred to as “focusing initial position”, hereinafter) in step S2205. Note, the focus position detector 125 is also checked at this time.

[0120] Thereafter, the system controller 111 drives the sub-scanning motor 115 to move the film 102 to a start position for scanning in the sub-scanning direction (referred to as “sub-scanning initial position”) in step S2206. Note, the sub-scanning position detector 117 is also checked at the same time.

[0121] Next, the system controller 111 permits the image processing unit 108 to output a clock signal 120 in step S2207, then controls to perform black-level correction by the black level correction circuit 106 in step S2208.

[0122] Then, the system controller 111 issues a light-source ON instruction to the light-source on/off circuit 118 in step S2209.

[0123] Thereafter, in step S2210, the system controller 111 sets shading correction data.

[0124] Subsequently, the system controller 111 issues a light-source OFF instruction to the light-source on/off circuit 118 in step 2211, and the shading correction data is stored in the offset RAM 122 in step S2212. Next, after the system controller 111 initializes the I/F 110 in step S2213, it permits the I/F 110 to communicate in step S2214. Accordingly, the initialization is completed in step S2215 and the process goes back to the routine shown in FIG. 21.

[0125] Next, processing performed in response to each command is explained.

[0126]FIG. 25 is a flowchart showing a sequence of the previewing performed in step S2102 in FIG. 23.

[0127] First in step S2301, the system controller 111 supervises the state of the sub-scanning position detector 117, and controls the sub-scanning motor 115 so as to move the film 102 to a position where a portion of the film 102 between the front edge and the first frame, which is not exposed but developed, is placed on the optical axis.

[0128] The process proceeds to step S2302 and the system controller 111 issues the light source ON instruction to the light-source on/off circuit 118, and in the next step S2303, the system controller 111 permits the image processing unit 108 to generate the clock signal 120.

[0129] In step S2304, a ratio of color signal levels of red, green and blue of the read portion is obtained, and in step S2305, on the basis of the obtained relative ratio, the optimum set of masking correction coefficients is selected from the plurality of sets of masking correction coefficients stored in the ROM 126 in advance. Further, on the basis of the obtained relative ratio, the optimum γ correction curves for each basic color of R, G and B are also selected from the plurality of γ correction curves stored in the ROM 126 in advance. Then, in step S2306, the system controller 111 further controls the sub-scanning motor 115 to move the film 102 to the sub-scanning initial position.

[0130] The process proceeds to step S2307, where pre-scanning is performed. In this step, the sub-scanning motor 115 moves the film 102 so that a central portion of the frame image is placed at the optical axis of the optical system 103, then data on the quantity of light (AE data) is obtained. Here, in the embodiment, the CCD 104 is used as a quantity-of-light sensor, however, a separate sensor for exclusive use of measuring the quantity of light may be provided to measure the quantity of light.

[0131] Next, the process proceeds to step S2308 where gain adjustment is performed on the basis of the input quantity-of-light data. More specifically, when the quantity of light is low, the gain is increased, whereas, when the quantity of light is too high, the gain is decreased, thereby adjusting the gain.

[0132] In the proceeding step S2309, the sub-scanning motor 115 moves the film 102 to the sub-scanning initial position, and in step S2310, the speed to scan the film 102 in the sub-scanning direction for the previewing is set.

[0133] Thereafter, a resolution used in the previewing is set, and the clock signal 120 is outputted in step S2311. Next in step S2312, a signal processing area in the previewing is set to the image processing unit 108 and scanning of the film starts.

[0134] Then, after the clock signal 120 is stopped in step S2313, in step S2314, the system controller 111 issues the light source OFF instruction to the light-source on/off circuit 118. Then the process proceeds to step S2315 where the position of the film 102 which is moved in the scanning in step S2312 is returned to the sub-scanning initial position, then the processing is completed.

[0135] Then, the previewing is completed in step S2316.

[0136]FIG. 26 is a flowchart showing a sequence of the focus adjustment processing performed in step S2104 in FIG. 23.

[0137] In step S2401, whether or not a designation for performing automatic focusing (abbreviated as “AF” hereinafter) operation is included in the focus adjustment command is determined. If YES, then the process proceeds to step S2402, whereas if NO, then the process proceeds to step S2413.

[0138] In step S2402, the sub-scanning motor 115 is operated to move the film 102 from the sub-scanning initial position to a predetermined position where the focusing processing is performed (when focusing on the center of a frame image, for example, to the position where the optical axis of the optical system 103 intersects the center of the frame image). Next, in step S2403, the system controller 111 issues the light-source ON instruction to the light-source on/off circuit 118. The process proceeds to step S2404 where the system controller 111 issues an instruction to the resolution/magnification converter 205 so as to read an image in the same resolution as that of the CCD 104 and to generate the clock signal 120.

[0139] Thereafter, in step S2405, the focus motor 123 is controlled so that the focal point fixing member 105 is moved to the focusing initial position. Then, the process proceeds to step S2406 where an image signal of a single line is inputted. This input image signal is temporally stored in the offset RAM 122.

[0140] Next in step S2407, a focus state evaluation value is calculated. As the focus state evaluation value, the degree of sharpness is calculated, and it is stored in the offset RAM 122 along with the position of the focal point fixing member 105. Note, the degree of sharpness is a sum-square of the difference between outputs of two adjoining pixels, and it is calculated by using a known method.

[0141] Next in step S2408, the focus motor 123 is rotated by one step to move the focal point fixing member 105. In the proceeding step S2409, whether or not all focus data, i.e., the focus state evaluation values and the accompanying positions of the focal point fixing member 105, in a focusing area is inputted is determined. If NO, then the process returns to step S2406, whereas, if YES, the process proceeds to step S2410 where a focused position is determined on the basis of the focus state evaluation values. More specifically, among the focus state evaluation values, the position where the maximum degree of sharpness is obtained is determined as the focused position.

[0142] Then, in step S2411, the focus motor 123 is controlled to move the focal point fixing member 105 to the focusing initial position, and in step S2412, the focus motor 123 is further controlled to move the focal point fixing member 105 to the focused position.

[0143] Whereas, if NO in step S2401, namely, if no automatic focusing is designated in the focus adjustment command, the process proceeds to step S2413 where the focus motor 123 is controlled to move the focal point fixing member 105 to the focusing initial position. Thereafter, in step S2414, the focus motor 123 is moved to a position where is manually designated by the user, then the process proceeds to step S2415 where the sub-scanning motor 115 moves the film 102 to the sub-scanning initial position, and the processing is completed.

[0144]FIG. 27 is a flowchart showing a sequence of the main scanning performed in step S2106 in FIG. 23.

[0145] When the main scanning command is received in step S2505, whether or not a command for requesting the automatic exposure (AE) processing is included in the main scanning command is determined. If NO, then the process directly moves to step S2507, whereas if YES, then the process proceeds to step S2502 where the system controller 111 controls the sub-scanning motor 115 to move the film 102 to the sub-scanning initial position.

[0146] Then, in step S2503, the light source ON instruction is issued to the light-source on/off circuit 118. The process proceeds to step S2504 where the system controller 111 instructs the resolution/magnification converter 205 to generate a driving pulse for measuring the quantity of light, thereby permits the resolution/magnification converter 205 to generate the clock signal 120.

[0147] Next in step S2505, pre-scanning is performed, and a value of the density of an image recorded on the film is estimated on the basis of the measured quantity of light, then the value of gain is calculated.

[0148] In step S2506, the clock signal 120 is stopped, and the process proceeds to step S2507. In step S2507, the value of the gain is set.

[0149] Next, in step S2508, the system controller 111 controls the sub-scanning motor 115 to move the film 102 to a sub-scanning start position, where sub-scanning is started designated by, e.g., trimming information which indicates the size and shape of an image to be outputted. Next, in step S2509, the speed of sub scanning motor 115 is set in accordance with the resolution designated in the main scanning command. Thereafter, in step S2510, settings for generating the CCD pulse in the main scanning direction are set in the resolution/magnification converter 205 on the basis of the resolution designated in the main scanning command, in turn, the resolution/magnification converter 205 generates the clock signal 120.

[0150] Next in step S2511, the scanning range in the sub-scanning direction and the range of the image to be processed with image processes in the main scanning direction are determined in accordance with the designation included in the main scanning command, and the main scanning is performed.

[0151] Next in step S2512, generation of the clock signal 120 is stopped, and in the proceeding step S2513, the system controller 111 issues the light source OFF instruction to the light-source on/off circuit 118. Further in step S2514, the position of the film 102 is moved to the sub-scanning initial position while checking the sub-scanning position detector 117, thereby completing the main scanning in step S2515.

[0152]FIG. 28 is a flowchart showing a sequence of the eject processing performed in step S2108 in FIG. 23.

[0153] In step S2601, the system controller 111 controls the sub-scanning motor 115 to move the film 102 to the sub-scanning initial position while supervising the sub-scanning position detector 117. In the proceeding step S2602, the film 102 is moved toward outside of the film scanner 1 from the sub-scanning initial position by a predetermined number of pulses to a predetermined eject position, thereafter in step S2603, the eject processing is completed by turning off the electric power to the sub-scanning motor 115.

[0154]FIG. 29 is a flowchart showing a sequence of the film-type setting processing performed in step S2110 in FIG. 23.

[0155] Referring to FIG. 29, in step S2701, the film type is set to either a negative film or a positive film and, when negative film is set, parameters are set depending upon the color of the film base which differs one film to another. After the setting for a 35 mm film or an APS™ film is performed, then the gain in the amplifier is changed in accordance with the above settings.

[0156] In step S2702, an exposure period of time is changed in dependence upon the setting of either the negative film or the positive film. At this time, the exposure period of time is also changed in correspondence to transparency of the negative film, if necessary.

[0157] In step S2703, γ correction curves suitable for the film type designated in step S2701 is stored in the offset RAM 122. Further, in proceeding step S2704, masking correction coefficients suitable for the film type selected in step S2701 is set.

[0158] Then, in step S2705, a standard reading area is set in a case where a 135 (35 mm) film is set. Whereas, if an APS™ film is set, image sensing mode is read from magnetic information recorded on the film by the magnetic information detector 119. When a user takes a photograph using the APS™ film, the user can select one of the following image sensing modes which designate three different print sizes. These modes represent frame sizes of:

[0159] (a) 16.7 mm×30.2 mm

[0160] (b) 9.5 mm×30.2 mm

[0161] (c) 16.7 mm×23.4 mm

[0162] on the film. All images recorded on the film have the size (a), and one of the image sensing modes is recorded along with each image as magnetic information. In accordance with the recorded image sensing mode, start position for scanning the image is changed individually. Until the start position, the film can be fed at high speed in the sub-scanning direction, thereby it is possible to shorten a period of time needed for performing scanning operation. More specifically, in the mode (c), the size of the image to be printed is 6.8 mm shorter in the sub-scanning direction than in the modes (a) and (b), and the film can be fed at high speed during the 6.8 mm portion.

[0163] Further, the width (in the main scanning direction) of the APS™ film is narrower than a 135 (35 mm) film, therefore, the output signals from the CCD 104 include signals which do not represents image information. Therefore, by performing signal processes so as not to process the signals which do not represents image information, the processing time is shortened, as well as it becomes unnecessary to perform trimming.

[0164] Then, in step S2706, the film-type setting processing is completed.

[0165] Next, an example of normal processing for reading an image recorded on an APS™ film from the setting of a film into the film scanner 1 until the film is ejected is explained. Here, it is assumed that the initialization of the film scanner 1 is completed and ready for communication with the external device 114.

[0166] After the film is set into the film scanner 1, the external device 114 transmits a film-type setting command to the film scanner 1; in turn, the film scanner 1 performs the processing shown in FIG. 29. In the processing, γ correction curves and masking correction coefficients suitable for the film are set.

[0167] Then, the external device 114 transmits a focus adjustment command to the film scanner 1; in turn, the film scanner 1 performs the processing shown in FIG. 26.

[0168] Thereafter, the external device 114 transmits a preview command to the film scanner 1; in turn, the film scanner 1 performs the processing shown in FIG. 25. As described above, the portion which is not exposed but developed, namely, an area showing a film base color is scanned, and new γ correction curves and masking correction coefficients which are determined suitable for the film on the basis of the spectral transmittance of the film base color are set. Note, when a 35 mm film is set in the film scanner 1 instead of an APS™ film, steps S2301 to S2303 are skipped, in this embodiment. Accordingly, the γ correction curves and the masking correction coefficients set in the processing shown in FIG. 29 are used for processing image signals.

[0169] After the previewing, the external device 114 transmits a main scanning command to the film scanner 1; in turn, the film scanner 1 performs the processing shown in FIG. 27. Image signals obtained in the main scanning is processed using the γ correction curves and the masking corrections set in accordance with the spectral transmittance of the film base color in the previewing.

[0170] After the main scanning is completed, then the external device 114 transmits an eject command; in turn, the film scanner 1 performs the eject processing shown in FIG. 28, thereby the film is ejected, and the overall image read processing is completed.

[0171] According to the embodiment as described above, it is possible to provide an image read method and an image read apparatus capable of providing an image of good color reproductivity by utilizing the area between the front edge and the first frame of the film, which is not exposed but developed, when an APS™ film is set.

[0172] The present invention is not limited to the above second embodiment and various changes and modifications can be made within the spirit and scope of the present invention. Therefore to apprise the public of the scope of the present invention, the following claims are made. 

What is claimed is:
 1. An image read method comprising: an image read step of reading an image recorded on a recording medium and outputting image data; a color information determination step of determining color information on basic colors of a reference portion of the recording medium; a parameter setting step of setting a parameter for each color to be used in image signal processes on the basis of the color information determined in said color information determination step; and an image processing step of applying the image signal processes on the image data obtained in said image read step using the parameter set in said parameter setting step.
 2. The image read method according to claim 1 , wherein, in said parameter setting step, the parameter to be used is selected from a plurality of parameters stored in storage means in advance on the basis of the color information.
 3. The image read method according to claim 1 , wherein the parameter is a masking correction coefficient used in masking processing.
 4. The image read method according to claim 1 , wherein the parameter is a γ correction parameter used in γ correction.
 5. The image read method according to claim 1 , wherein the recording medium is a film.
 6. The image read method according to claim 5 , wherein the film is an advanced photo system (APS™) film.
 7. The image read method according to claim 5 , wherein the basic colors of the reference portion of the recording medium represent a color of a portion of the film which is not exposed but developed.
 8. An image read apparatus comprising: image read means for reading an image recorded on a recording medium and outputting image data; color information determination means for determining color information on basic colors of a reference portion of the recording medium; parameter setting means for setting a parameter for each color to be used in image signal processes on the basis of the color information determined by said color information determination means; and image processing means for applying the image signal processes on the image data obtained by said image read means using the parameter set by said parameter setting means.
 9. The image read apparatus according to claim 8 further comprising storage means for storing a plurality of parameters in advance, wherein said parameter setting means selects the parameter to be used from a plurality of parameters stored in said storage means on the basis of the color information.
 10. The image read apparatus according to claim 8 , wherein the parameter is a masking correction coefficient used in masking processing.
 11. The image read apparatus according to claim 8 , wherein the parameter is a γ correction parameter used in γ correction.
 12. The image read apparatus according to claim 8 , wherein the recording medium is a film.
 13. The image read apparatus according to claim 12 , wherein the film is an advanced photo system™ film.
 14. The image read apparatus according to claim 12 , wherein the basic colors of the reference portion of the recording medium represent a color of a portion of the film which is not exposed but developed. 